package top.so.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.so.dao.AdminDao;
import top.so.entity.Admin;
import top.so.service.AdminService;

import java.util.List;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminDao adminDao;

    public List<Admin> selectAdmin(Admin admin) {
        return adminDao.selectAdmin(admin);
    }
}
